#pragma once;

/*
 Code by Torbjoern Haugen

 A model has a orientation and a name
 the name is used as a key into the geomanager map<GeoData*, string> to look up geo for rendering
*/

#include <glm/glm.hpp>
#include <string>

class Model
{
	

public:

	Model();
	Model(glm::vec3 pos, float xAng, float yAng, float zAng, std::string name);
	void loadFromSTL(const std::string& name);




	glm::vec3 position;
	glm::vec3 heading;

	//GMlib::Box<float,3> bbox;
	float xAngle;
	float yAngle;
	float zAngle;
	std::string modelName; // corresponds to string in geomanager strmap
};